#main {
    position: relative;
}

.box {
    padding: 6px 0 6px 10px;
    position: absolute;
}

.pic {
    width: 182px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    background: white;
}

.pic img {
    width: 100%;
}

.box {
    transition: transform 0.6s linear;
}